You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > SinhCosh Method > TOpenCLMtxVec.SinhCosh Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.SinhCosh Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec)

Hyperbolic sine and cosine.

Syntax
C#
Visual Basic
public void SinhCosh([In] TOpenCLMtxVec SinhX, [In] TOpenCLMtxVec CoshX);

Calculates the hyperbolic sine and hyperbolic cosine for all calling object elements and stores the sines to SinhX and cosines to CoshX. Size and TOpenCLBase.ComplexComplexproperty of SinhX and CoshX are adjusted automatically. 

Note Use this method if you require hyperbolic sine and hyperbolic cosine.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TOpenCLVector a,s,v; clMtxVec.CreateIt(out a, out s, out c); try { a.CopyFromArray( new double[] {0,Math387.PIDIV2,Math387.PI); a.SinhCosh(s,c); } finally { clMtxVec.FreeIt(ref a, ref s, ref c); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!